package Main.Service;


import Main.DAO.UserDAOImp;
import Main.entity.UserAdvice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImp implements UserService {

    @Autowired
    private UserDAOImp userDao;

    @Override
    public int insert(UserAdvice user) {
        return userDao.insert(user);
    }
}
